import classNames from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';

export interface ISpinnerProps {
  className?: string;
  style?: React.CSSProperties;
}

export class Spinner extends React.Component<ISpinnerProps, {}> {

  public static propTypes = {
    className: PropTypes.string,
    style: PropTypes.object,
  };

  public render() {
    return (
      <div className = {classNames('br-spinner', this.props.className)} style={this.props.style}></div>
    );
  }
}
